//
//  WeatherCityModel.m
//  baodongPro
//
//  Created by feng on 16/3/5.
//  Copyright © 2016年 proper. All rights reserved.
//

#import "WeatherCityModel.h"

@implementation WeatherCityModel


-(instancetype)initWithDictionary:(NSDictionary*)dic
{
    /*
     province_cn: "北京",  //省
     district_cn: "北京",  //市
     name_cn: "朝阳",    //区、县
     name_en: "chaoyang",  //城市拼音
     area_id: "101010300"  //城市代码
     */

    self=[super init];
    if (self)
    {
        self.m_province_cn=[dic objectForKey:@"province_cn"];
        self.m_district_cn=[dic objectForKey:@"district_cn"];
        self.m_name_cn=[dic objectForKey:@"name_cn"];
        self.m_name_en=[dic objectForKey:@"name_en"];
        self.m_area_id=[dic objectForKey:@"area_id"];
        
    }


    return self;
}
@end
